﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CommitteeMenu.ascx.cs"
    Inherits="SBACN.WebSite.UC.CommitteeMenu" %>
<div id="leftLinkDiv">
    <div id="leftnav">
        <div id="leftnavheader">
            专业委员会</div>
        <ul id="leftnavborder">
            <li id="left00030001" class="a" onclick="showLeft('00030001')"><a href="#">公司业务</a><img src='../images/arrow_down.gif'
                width='9' height='5' /></li>
            <div id="list2">
                <ul>
                    <li id="li_Introduction" class="a" onclick="showLeftDetail(this)"><a href="Introduction.aspx?t=00030001&l=li_Introduction">
                        ·简介</a></li>
                    <li id="li_plan" onclick="showLeftDetail(this)"><a href="Plan.aspx?t=00030001&l=li_plan">·工作计划</a></li>
                    <li id="li_Dynamic" onclick="showLeftDetail(this)"><a href="Dynamic.aspx?t=00030001&l=li_Dynamic">
                        ·动态</a></li>
                    <li id="li_AddressBook" onclick="showLeftDetail(this)"><a href="AddressBook.aspx?t=00030001&l=li_AddressBook">
                        ·通讯录</a></li>
                </ul>
            </div>
            <li id="left00030002" onclick="showLeft('00030002')"><a href="#">个人业务</a></li>
            <li id="left00030003" onclick="showLeft('00030003')"><a href="#">银团贷款</a></li>
            <li id="left00030004" onclick="showLeft('00030004')"><a href="#">银行卡</a></li>
            <li id="left00030005" onclick="showLeft('00030005')"><a href="#">创新发展</a></li>
            <li id="left00030006" onclick="showLeft('00030006')"><a href="#">外资银行</a></li>
            <li id="left00030007" onclick="showLeft('00030007')"><a href="#">金融消费者权益保护</a></li>
            <li id="left00030008" onclick="showLeft('00030008')"><a href="#">风险管理</a></li>
            <li id="left00030009" onclick="showLeft('00030009')"><a href="#">台规管理</a></li>
            <li id="left000300010" onclick="showLeft('000300010')"><a href="#">人力资源管理</a></li>
        </ul>
    </div>
</div>
<script type="text/javascript">
    var $jqy = jQuery.noConflict();
    $jqy(document).ready(function () {
        var t = getQueryString("t");
        var l = getQueryString("l");
        if (t != null && t != '') {
            showLeft(t);
            showLeftDetail(l);
        }
    });
    function showLeft(o) {
        $jqy(".a").find("img").remove();
        $jqy(".a").removeClass("a");

        var id = "#left" + o;
        $jqy("#list2").insertAfter(id);
        $jqy(id).addClass("a");
        $jqy(id).append("<img src='../images/arrow_down.gif'  width='9' height='5' />");

        $jqy("#li_Introduction").find("a").attr("href", "Introduction.aspx?t=" + o + "&l=li_Introduction");
        $jqy("#li_plan").find("a").attr("href", "Plan.aspx?t=" + o + "&l=li_plan");
        $jqy("#li_Dynamic").find("a").attr("href", "Dynamic.aspx?t=" + o + "&l=li_Dynamic");
        $jqy("#li_AddressBook").find("a").attr("href", "AddressBook.aspx?t=" + o + "&l=li_AddressBook");
    }
    function showLeftDetail(o) {
        $jqy("#" + o).addClass("a");
    }
    function getQueryString(name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
        var r = window.location.search.substr(1).match(reg);
        if (r != null) return unescape(r[2]); return null;
    }
</script>
